#include "pls_tool.h"
#define LOG_TAG    "pls_tool"
#include <elog.h>

void device_print(void)
{
    #ifdef __linux__
    // Linux平台相关代码
    log_i("device is linux!");    
    #elif defined(_WIN32)
    // Windows平台相关代码
    log_i("device is windows!"); 
    #else
    // 其他平台处理
    log_i("device is other!"); 
    #endif
}


#ifdef _WIN32 // 判断平台
    #ifndef _WIN64 // 判断x86 or x64
        #pragma comment(lib,"json/json_mtd_x86.lib")
    #else
        #pragma comment(lib,"json/json_mtd_x64.lib")
    #endif
#elif __linux__
    #define TT
#else
    #ifndef _WIN64
        #pragma comment(lib,"json/json_mt_x86.lib")
    #else
        #pragma comment(lib,"json/json_mt_x64.lib")
    #endif
#endif


